package org.apache.servicecomb.samples.practise.houserush.realestate.service;

import org.apache.servicecomb.samples.practise.houserush.realestate.entity.Building;

import java.util.List;

public interface BuildingService {
    Building createBuilding(Integer realestateId, Building building);
    Building findBuilding(Integer id);
    Building updateBuilding(Building building);
    void removeBuilding(Integer id);
    List<Building> indexBuildings(Integer realestateId);
}
